|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.highdeal.hci.OperationFailureException
com.highdeal.hci.InvalidPasswordException
public class InvalidPasswordException
Exception thrown when an error occurs during the modification of the password of an SAP CC user.
The possible reasons are:
Note
The SAP CC system throws this exception only when the advanced password management feature is enabled.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="invalidPasswordFault">
<xs:complexType>
<xs:attribute name="reason" type="invalidPasswordReason"/>
<xs:attribute name="message" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:simpleType name="invalidPasswordReason">
<xs:restriction base="xs:string">
<xs:enumeration value="empty"/>
<xs:enumeration value="contains_login"/>
<xs:enumeration value="minimum_length"/>
<xs:enumeration value="complexity"/>
<xs:enumeration value="mininum_age"/>
<xs:enumeration value="reuse_delay"/>
<xs:enumeration value="reuse_cycle"/>
</xs:restriction>
</xs:simpleType>
| Field Summary | |
|---|---|
static int |
COMPLEXITY
Constant for the complexity error. |
static int |
CONTAINS_LOGIN
Constant for the contains_login error. |
static int |
EMPTY
Constant for the empty error. |
static int |
MINIMUM_LENGTH
Constant for the minimum_length error. |
static int |
MININUM_AGE
Constant for the mininum_age error. |
static int |
REUSE_CYCLE
Constant for the reuse_cycle error. |
static int |
REUSE_DELAY
Constant for the reuse_delay error. |
| Constructor Summary | |
|---|---|
InvalidPasswordException()
Constructs an empty exception. |
|
InvalidPasswordException(int reason,
java.lang.String message)
Constructs an exception with a reason and a message. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String data)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.lang.String |
getMessage()
Returns the message of the exception. |
java.lang.String |
getOperandReference()
Gets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference is null. |
int |
getReason()
Returns the reason of the exception. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setMessage(java.lang.String message)
Sets the message of the exception. |
void |
setReason(int reason)
Sets the reason of the exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int EMPTY
empty error.
public static final int CONTAINS_LOGIN
contains_login error.
public static final int MINIMUM_LENGTH
minimum_length error.
public static final int COMPLEXITY
complexity error.
public static final int MININUM_AGE
mininum_age error.
public static final int REUSE_DELAY
reuse_delay error.
public static final int REUSE_CYCLE
reuse_cycle error.
| Constructor Detail |
|---|
public InvalidPasswordException()
public InvalidPasswordException(int reason,
java.lang.String message)
reason - the reason of the exception.message - the message of the exception.| Method Detail |
|---|
public int getReason()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic void setReason(int reason)
reason - the reason of the exception.public void setMessage(java.lang.String message)
message - the message of the exception.public void setAttributes(XMLAttributes atts)
XMLMarshallable
atts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String data)
XMLMarshallable
data - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
tagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
output - The XML output to marshal the object intopublic java.lang.String getOperandReference()
OperationResultnull.
getOperandReference in interface OperationResultgetOperandReference in class OperationFailureException
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||